From b41b5d054701ea612e1e42cb12bc60fc818097ad Mon Sep 17 00:00:00 2001 From: Rob Church Date: Tue, 17 Jul 2007 16:52:55 +0000 Subject: [PATCH] Fix --- includes/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/User.php b/includes/User.php index b39f24f7f3..22443fabde 100644 --- a/includes/User.php +++ b/includes/User.php @@ -493,7 +493,7 @@ class User { if( !wfRunHooks( 'isValidPassword', array( $password, &$result ) ) ) return $result; if( $result === false ) - return $false; + return false; // Password needs to be long enough, and can't be the same as the username return strlen( $password ) >= $wgMinimalPasswordLength -- 2.20.1